Optimal. Leaf size=64 \[ \frac {2 B \sin (c+d x)}{5 d \sec ^{\frac {3}{2}}(c+d x)}+\frac {6 B \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{5 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 64, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {21, 3769, 3771, 2639} \[ \frac {2 B \sin (c+d x)}{5 d \sec ^{\frac {3}{2}}(c+d x)}+\frac {6 B \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{5 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 2639
Rule 3769
Rule 3771
Rubi steps
\begin {align*} \int \frac {a B+b B \cos (c+d x)}{(a+b \cos (c+d x)) \sec ^{\frac {5}{2}}(c+d x)} \, dx &=B \int \frac {1}{\sec ^{\frac {5}{2}}(c+d x)} \, dx\\ &=\frac {2 B \sin (c+d x)}{5 d \sec ^{\frac {3}{2}}(c+d x)}+\frac {1}{5} (3 B) \int \frac {1}{\sqrt {\sec (c+d x)}} \, dx\\ &=\frac {2 B \sin (c+d x)}{5 d \sec ^{\frac {3}{2}}(c+d x)}+\frac {1}{5} \left (3 B \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \sqrt {\cos (c+d x)} \, dx\\ &=\frac {6 B \sqrt {\cos (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {\sec (c+d x)}}{5 d}+\frac {2 B \sin (c+d x)}{5 d \sec ^{\frac {3}{2}}(c+d x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 56, normalized size = 0.88 \[ \frac {B \sqrt {\sec (c+d x)} \left (\sin (c+d x)+\sin (3 (c+d x))+12 \sqrt {\cos (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right )\right )}{10 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 1.37, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {B}{\sec \left (d x + c\right )^{\frac {5}{2}}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {B b \cos \left (d x + c\right ) + B a}{{\left (b \cos \left (d x + c\right ) + a\right )} \sec \left (d x + c\right )^{\frac {5}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 1.22, size = 203, normalized size = 3.17 \[ -\frac {2 \sqrt {\left (2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, B \left (-8 \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \left (\sin ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+8 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) \cos \left (\frac {d x}{2}+\frac {c}{2}\right )-3 \sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \EllipticE \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )-2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) \cos \left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{5 \sqrt {-2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )}\, \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {B b \cos \left (d x + c\right ) + B a}{{\left (b \cos \left (d x + c\right ) + a\right )} \sec \left (d x + c\right )^{\frac {5}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {B\,a+B\,b\,\cos \left (c+d\,x\right )}{{\left (\frac {1}{\cos \left (c+d\,x\right )}\right )}^{5/2}\,\left (a+b\,\cos \left (c+d\,x\right )\right )} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________